from django.contrib.auth.models import Group
from rest_framework import serializers


class GroupSerializer(serializers.ModelSerializer):
    """获取用户组表列表数据序列化器"""

    class Meta:
        model = Group
        fields = "__all__"